/**
 * User: alesj
 * Date: 2004.8.25
 * Time: 15:46:12
 */

package com.generalynx.common.data;

import java.util.Comparator;

public class EntityComparator implements Comparator {

    public int compare(Object o1, Object o2) {
        IEntity e1 = (IEntity)o1;
        IEntity e2 = (IEntity)o2;
        return (e1.getId() - e2.getId());
    }
}
